package com.ruicar.afs.cloud.common.modules.dto.mq.approveprev;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description 预审批结果
 * @Author Peng Jinbo
 * @Date 2020/08/08 10:43
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ApprovePrevResultDto implements Serializable {


    /**
     * Apply id
     * 进件端预审批唯一标识
     */
    @JSONField(name = "applyId")
    private String applyId;


    /**
     * Approve result
     * 预审批结果
     * 1. 二手车预审
     * yes 通过 、 no 拒绝
     * 2. 新车预审
     * A B C D 等级信息
     */
    @JSONField(name = "approveResult")
    private String approveResult;

    /**
     * Price limit
     * 定价额度
     */
    @JSONField(name = "priceLimit")
    private BigDecimal priceLimit;

    /**
     * Refuse reason
     * 拒绝原因
     */
    @JSONField(name = "refuseReason")
    private String refuseReason;

    /**
     * Approve date
     * 预审批出结果时间
     */
    @JSONField(name = "approveDate", format = "yyyy-MM-dd HH:mm:ss")
    private Date approveDate;


    /**
     * Receive Status
     * 接受状态
     * yes 成功 no 失败
     */
    @JSONField(name = "receiveStatus")
    private String receiveStatus;
}
